#ifndef _GAME_DEFINE_
#define _GAME_DEFINE_
#define _USE_MATH_DEFINES
#include <math.h>
#define GAME_TIME 16.666666667f

#define  A 0x0000000f
#define  S 0x000000f0
#define  D 0x00000f00
#define  W 0x0000f000
#define  _U 0x000f0000
#define  I 0x00f00000
/////////
enum KB_STATE : int
{
	AS = A | S, AW = A | W, DW = D | W, DS = D | S,
	DI = D|I, AI=A|I, WI= W|I, SI=S|I,
	DU = D|_U, SU = S|_U, AU = A|_U, WU = W|_U,
	ASU = AS | _U, DSU = DS|_U, DWU = DW|_U, AWU = AU|W,
	ASI = AS|I, DSI = DS | I, DWI = DW | I, AWI = AI | W,
	DUI = DU | I, WUI = WU | I, AUI = AU | I, SUI = SU | I,
	DWUI = DWU | I, AWUI = AWU | I, DSUI = DSU | I, ASUI = ASU | I
};

enum SPRITE_ID
{
	GO_LEFT, GO_RIGHT, JUMP_LEFT, JUMP_RIGHT, SHOOT_LEFT, SHOOT_RIGHT, STAND_LEFT, STAND_RIGHT, JUMP_SHOOT_LEFT, JUMP_SHOOT_RIGHT, SLIDING_LEFT, SLIDING_RIGHT,
	BULLET,
	BACKGROUND,
	BEAR,
	CLOUD,
	LITTLE_FAIRY, ANGEL,SNOW
};
enum SOUND_ID
{
	bg_Music
};
enum COMPONENT
{
	PHYSICS, BODY, BODY1
}; 
#endif